package com.atguigu.springcloud.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description 微信注册登录的控制器,用于测试
 * @Author lx
 * @Date 2021/1/4 14:46
 **/

@RestController//返回json字符串
@Slf4j
public class WxController {

//    private static final Logger log = LoggerFactory.getLogger(WxController.class);

    @RequestMapping("/wxdemo/login")
    public void WxLogin(){

       //log.info("微信登录成功跳转至后台程序");
        System.out.println("微信登录成功跳转至后台程序");

    }


    @RequestMapping("/wxdemo/register")
    public void WxRegister(){


    }
}
